import request from '@/utils/request'

// 查询队列信息
export function safe(data, params) {
  return request({
    url: '/send/safe',
    method: 'post',
    data: data,
    params: params
  })
}

// 通用文件上传函数
export function uploadFile(formData) {

  return request({
    url: '/send/upload/jpg',
    method: 'post',
    data: formData
  });
}

//预约请求
export function sendBookingRequest(formData) {

  return request({
    url: '/show/BookingRequest',
    method: 'post',
    data: formData
  });
}